Optimal. Leaf size=75 \[ -\frac {e^a x^2 \left (-b x^n\right )^{-2/n} \Gamma \left (\frac {2}{n},-b x^n\right )}{2 n}+\frac {e^{-a} x^2 \left (b x^n\right )^{-2/n} \Gamma \left (\frac {2}{n},b x^n\right )}{2 n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {5468, 2250}
\begin {gather*} \frac {e^{-a} x^2 \left (b x^n\right )^{-2/n} \text {Gamma}\left (\frac {2}{n},b x^n\right )}{2 n}-\frac {e^a x^2 \left (-b x^n\right )^{-2/n} \text {Gamma}\left (\frac {2}{n},-b x^n\right )}{2 n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2250
Rule 5468
Rubi steps
\begin {align*} \int x \sinh \left (a+b x^n\right ) \, dx &=-\left (\frac {1}{2} \int e^{-a-b x^n} x \, dx\right )+\frac {1}{2} \int e^{a+b x^n} x \, dx\\ &=-\frac {e^a x^2 \left (-b x^n\right )^{-2/n} \Gamma \left (\frac {2}{n},-b x^n\right )}{2 n}+\frac {e^{-a} x^2 \left (b x^n\right )^{-2/n} \Gamma \left (\frac {2}{n},b x^n\right )}{2 n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 88, normalized size = 1.17 \begin {gather*} -\frac {x^2 \left (-b^2 x^{2 n}\right )^{-2/n} \left (-\left (-b x^n\right )^{2/n} \Gamma \left (\frac {2}{n},b x^n\right ) (\cosh (a)-\sinh (a))+\left (b x^n\right )^{2/n} \Gamma \left (\frac {2}{n},-b x^n\right ) (\cosh (a)+\sinh (a))\right )}{2 n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 5 vs. order
4.
time = 0.25, size = 69, normalized size = 0.92
method | result | size |
meijerg | \(\frac {x^{2} \hypergeom \left (\left [\frac {1}{n}\right ], \left [\frac {1}{2}, 1+\frac {1}{n}\right ], \frac {x^{2 n} b^{2}}{4}\right ) \sinh \left (a \right )}{2}+\frac {x^{n +2} b \hypergeom \left (\left [\frac {1}{2}+\frac {1}{n}\right ], \left [\frac {3}{2}, \frac {3}{2}+\frac {1}{n}\right ], \frac {x^{2 n} b^{2}}{4}\right ) \cosh \left (a \right )}{n +2}\) | \(69\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.08, size = 73, normalized size = 0.97 \begin {gather*} \frac {x^{2} e^{\left (-a\right )} \Gamma \left (\frac {2}{n}, b x^{n}\right )}{2 \, \left (b x^{n}\right )^{\frac {2}{n}} n} - \frac {x^{2} e^{a} \Gamma \left (\frac {2}{n}, -b x^{n}\right )}{2 \, \left (-b x^{n}\right )^{\frac {2}{n}} n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \sinh {\left (a + b x^{n} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x\,\mathrm {sinh}\left (a+b\,x^n\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________